Rtcl\Helpers\Functions D

Total Complexity 971
Dependencies 21
Dependents 129
Total lines 5,117
Lines of code 3,541
Logical lines of code 1,871
Comment lines 910
Methods 205
Properties 0

Methods 205

Method Rating Maintainability Complexity Lines of code
get_sub_terms_filter_html()
D
14
92 214
form_field()
D
18
59 205
get_custom_field_html()
D
19
52 238
update_listing_promotions()
C
32 29 102
dropdown_terms()
C
26
23 182
create_new_user()
B
36 22 76
syncMLListingMeta()
B
41 18 57
sanitize()
B
41 16 56
apply_payment_pricing()
B
38 15 70
upload_item_data()
B
36 14 80
touch_time()
A
36 11 75
rtcl_payment_completed()
A
41 11 56
get_sub_terms()
A
42 11 53
get_page_id()
A
54 13 18
get_user_roles()
A
51 11 24
get_option_item()
A
55 11 17
price()
A
44 9 43
datetime()
A
50 10 28
get_cf_ids()
A
45 9 42
create_new_user_username()
A
43 8 51
get_template_part()
A
48 9 35
get_listing_images()
A
44 8 46
get_listing_redirect_url_after_edit_post()
A
49 9 31
get_listing_attachment_props()
A
41 7 57
is_human()
A
51 9 24
timezone_string()
A
53 9 23
get_multilevel_terms_data()
A
47 8 35
add_theme_container_class()
A
54 8 21
get_map_icon_url()
A
55 8 19
get_term_child_id_for_a_post()
S
58 8 15
locate_template()
S
52 7 24
get_price_format()
S
53 7 23
get_cf_data()
S
53 7 21
format_decimal()
S
53 7 19
get_account_menu_items()
S
52 6 23
do_registration_from_listing_form()
S
48 5 34
notice_count()
S
55 6 19
get_term_top_parent_id_for_a_post()
S
58 6 14
insert_custom_pages()
S
50 5 28
update_listing_views_count()
S
53 5 21
print_notices()
S
54 5 19
get_notices()
S
56 5 18
get_account_menu_item_classes()
S
57 5 16
array_insert_after()
S
59 5 15
get_listing_tag()
S
57 5 15
current_user_can()
S
59 5 14
updateBlockedUserIds()
S
61 5 11
updateBlockedListingIds()
S
61 5 11
get_cfg_ids()
S
47 3 38
get_favourites_link()
S
54 4 20
getBlockedUserList()
S
57 4 18
debug()
S
57 4 17
getBlockedListingList()
S
57 4 17
get_payment_formatted_price()
S
56 4 16
string_to_bool()
S
76 5 3
is_checkout_page()
S
64 5 9
string_to_datetime()
S
56 4 15
setcookie()
S
62 5 9
is_account_page()
S
64 5 9
get_single_term_title()
S
59 4 15
listing_feature_thumbnail()
S
59 4 14
get_template()
S
58 4 14
get_custom_field_ids()
S
59 4 14
get_ip_address()
S
60 4 13
get_map_icon_url_by_ad_type()
S
60 4 12
has_notice()
S
60 4 12
sort_images()
S
61 4 12
get_raw_referer()
S
62 4 11
term_has_children()
S
63 4 11
add_default_expiry_date()
S
53 3 21
dummy_expiry_date()
S
62 4 10
getBlockedUserIds()
S
70 4 5
is_enable_map()
S
69 4 6
user_can_edit_image()
S
67 4 7
get_currency_symbol()
S
65 4 8
set_time_limit()
S
67 4 7
getBlockedListingIds()
S
70 4 5
add_wp_error_notices()
S
68 4 7
get_pages()
S
59 3 14
get_admin_email_id_s()
S
59 3 14
get_map_data()
S
59 3 14
get_selected_cat()
S
61 3 12
add_notice()
S
60 3 12
get_listing_types()
S
62 3 11
get_page_ids()
S
62 3 11
is_external()
S
62 3 11
get_payment_formatted_price_html()
S
54 2 21
get_listings_count_by_taxonomy()
S
55 2 20
get_site_logo()
S
58 2 16
clear_notices()
S
63 3 10
get_payment_method_list()
S
64 3 10
clean()
S
68 3 7
get_decimal_separator()
S
66 3 8
get_custom_fields_html()
S
63 3 10
request()
S
65 3 9
is_listing_form_page()
S
74 3 4
trim_string()
S
63 3 10
get_base_location()
S
63 3 10
is_enable_mark_as_sold()
S
67 3 7
get_renewal_link()
S
66 3 8
format_price_range()
S
69 3 5
is_rtcl()
S
78 3 3
get_decimal_separator_both()
S
66 3 8
get_thousands_separator()
S
66 3 8
get_order_currency_symbol()
S
65 3 8
remove_query_arg()
S
63 3 10
post_content_has_shortcode()
S
73 3 4
get_star_rating_html()
S
60 2 12
get_rating_html()
S
60 2 12
phone_exists()
S
61 2 12
string_to_timestamp()
S
63 2 11
get_regular_pricing_options()
S
53 1 24
print_html()
S
69 2 7
get_term_top_most_parent_id()
S
74 2 4
get_wp_max_upload()
S
69 2 7
the_offline_payment_instructions()
S
73 2 4
get_payment_gateway()
S
64 2 10
hide_map()
S
78 2 3
get_rounding_precision()
S
68 2 7
maybe_define_constant()
S
74 2 5
is_enable_terms_conditions()
S
68 2 6
get_currency()
S
66 2 8
is_video_urls_disabled()
S
70 2 6
is_video_gallery_disabled()
S
70 2 6
is_description_disabled()
S
70 2 6
is_ad_type_disabled()
S
70 2 6
is_favourites_disabled()
S
70 2 6
is_tag_disabled()
S
70 2 6
is_price_type_disabled()
S
70 2 6
is_price_disabled()
S
70 2 6
delete_post()
S
65 2 9
is_pricing_disabled()
S
70 2 6
get_one_level_categories()
S
73 2 4
is_payment_disabled()
S
70 2 6
is_gallery_disabled()
S
70 2 6
is_gallery_image_required()
S
77 2 3
is_ajax()
S
78 2 3
meta_exist()
S
70 2 6
is_listings()
S
77 2 3
timezone_offset()
S
64 2 9
strtolower()
S
78 2 3
get_option()
S
68 2 7
get_listing_first_image_id()
S
65 2 9
get_status_i18n()
S
73 2 4
get_cf_label()
S
69 2 7
get_var()
S
79 2 3
is_wc_activated()
S
70 2 6
get_cf_ids_by_cfg_id()
S
60 1 13
allowed_html_for_term_and_conditions()
S
62 1 12
get_all_cf_fields_by_cfg_id()
S
61 1 12
get_my_account_page_endpoints()
S
62 1 11
all_ids_for_remove_attachment()
S
62 1 11
is_enable_business_hours()
S
78 1 3
is_enable_social_profiles()
S
78 1 3
get_compare_limit()
S
77 1 3
is_enable_post_for_unregister()
S
79 1 3
is_billing_address_disabled()
S
74 1 4
is_listing_category()
S
79 1 3
is_wc_active()
S
80 1 3
is_listings_page()
S
75 1 4
location_type()
S
78 1 3
get_map_type()
S
78 1 3
has_map()
S
78 1 3
is_listing_location()
S
79 1 3
get_map_data_content()
S
78 1 3
get_checkout_page_endpoints()
S
64 1 9
is_listing()
S
79 1 3
is_listing_taxonomy()
S
79 1 3
is_field_disabled()
S
78 1 3
login_form()
S
65 1 9
is_enable_renew()
S
78 1 3
time_format()
S
78 1 3
password_min_length()
S
78 1 3
sanitize_title_with_underscores()
S
77 1 3
listingFormPhoneIsRequired()
S
79 1 3
get_listing_image_ids()
S
75 1 4
of_kses_data()
S
79 1 3
date_format()
S
78 1 3
nocache_headers()
S
77 1 4
set_customer_auth_cookie()
S
72 1 5
doing_it_wrong()
S
74 1 4
set_datetime_date()
S
65 1 8
extend_date_to_end_of_the_day()
S
69 1 6
is_mysql_date()
S
74 1 4
is_registration_enabled()
S
78 1 3
get_template_html()
S
72 1 5
get_order_currency()
S
74 1 4
in_array_any()
S
78 1 3
is_enable_favourite()
S
78 1 3
get_price_decimals()
S
78 1 3
get_default_placeholder_url()
S
74 1 4
is_registration_page_separate()
S
78 1 3
get_formatted_price()
S
74 1 4
format_localized_price()
S
73 1 4
trim_zeros()
S
73 1 4
currency_decimal_count()
S
75 1 4
formatBytes()
S
69 1 5
in_array_all()
S
78 1 3
get_temp_listing_status()
S
79 1 3
get_max_upload()
S
74 1 4
get_default_expired_duration_days()
S
74 1 4
get_user_social_profile()
S
77 1 3
get_one_level_locations()
S
78 1 3
array_insert()
S
74 1 4
isEnableFb()
S
79 1 3